package com.bbs.common.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bbs.common.entity.ForumCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bbs.common.vo.ForumCollectListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 帖子收藏 Mapper 接口
 * </p>
 *
 * @author yangjiajia
 * @since 2024-05-13
 */
@Mapper
public interface ForumCollectMapper extends BaseMapper<ForumCollect> {

    IPage<ForumCollectListVo> list(Page<ForumCollect> queryPage, @Param("userId") Integer userId, @Param("title") String title);
}
